Why can't an SQL SELECT that includes an aggregate access other columns